<template>
	<div id="search">
		<div>
			<div>
				<i class="fa fa-search"></i>
				<input type="text" />
			</div>
		</div>
		<h3>电影/电视剧/综艺</h3>
		<ul>
			<li>
				<div>
					<img src="/images/001.png" alt="">
				</div>
				<div class="desc">
					<p>机械师2</p>
					<p>剧情，喜剧，犯罪</p>
					<p>2020-6-30</p>
				</div>
				<div>8.9</div>
			</li>
		</ul>
	</div>
</template>

<script>
export default{
	name: 'Search'
}
</script>

<style scoped>
	#search>div{
		background: #f5f5f5;
		padding: 10px;
	}
	#search>div div{
		background: white;
		border-radius: 5px;
		border: 1px solid #ccc;
		padding: 5px;
	}
	input{
		border: none;
		outline: none;
	}
	h3{
		color: #999;
		border-bottom: 1px solid #ccc;
		padding: 5px;
		font-size: 18px;
	}
	li div{
		float: left;
	}
	img{
		width: 80px;
	}
	li{
		overflow: hidden;
		padding: 10px;
		border-bottom: 1px dashed #ccc;
	}
	.desc{
		margin-left: 10px;
	}
	li div:last-child{
		float: right;
		color: #fc7103;
	}
	.desc p{
		line-height: 28px;
		font-size: 14px;
	}
	.desc p:first-child{
		font-size: 18px;
		font-weight: bold;
	}
</style>
